-include ../Makefile.opts
LDFLAGS=-lrt -ldl -lpthread

all: serpentd

serpentd: serpentd.o serpentd_worker.o serpentd_slave_command.o serpentd_queue.o serpentd_io.o serpentd_props.o serpentd_helpers.o serpentd_obj.o

install: serpentd
	install -D -m 0755 serpentd ${PREFIX}/bin/serpentd

uninstall:
	rm -f ${PREFIX}/bin/serpentd
	
clean:
	rm -rf *.o
	rm -f serpentd
	
.PHONY: all install clean uninstall

